package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.template.entity.KnowledgePoint;
import org.apache.catalina.LifecycleState;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface KnowledgePointRepository extends JpaRepository<KnowledgePoint,String> {
    List<KnowledgePoint> findByModuleTaskId(String moduleTaskId);
    List<KnowledgePoint> findByModuleTaskIdIn(List<String> moduleTaskIds);
    List<KnowledgePoint> findByModuleTaskIdInAndType(List<String> moduleTaskIds,Integer type);
}
